package com.toubutu.audio.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 戒燥
 * @since 2023-09-30
 */
@Data
@ApiModel(value = "权限对象", description = "")
public class Permission implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("权限id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("权限名称")
    private String name;



    @ApiModelProperty("是否删除 0否 1 是")
    private Integer isDelete;

    @ApiModelProperty("权限标识")
    private String code;
    @ApiModelProperty("父级权限id")
    private Integer parentId;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("最近修改时间")
    private LocalDateTime updateTime;


}
